package com.fatgirl.patterns.iterator
{
	/**
	 * NULL迭代器 
	 * 便于组合模式中 对叶子元素的迭代
	 * @author iceman
	 * 
	 */
	public class NullIterator implements IIterator
	{
		public function NullIterator()
		{
		}
		
		public function reset():void
		{
		}
		
		public function next():Object
		{
			return null;
		}
		
		public function hasNext():Boolean
		{
			return false;
		}
	}
}